<head>
<title>Tab</title>
<style type="text/css">
#tabContainer { 
   	height: 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-size:16px;
	padding: 5px;
	border:#666;
	width:auto;
}
#tabContainer div {
	float: left;
	margin-right: 20px;
	height: inherit;
	width: 100px;
	border: #999 1px solid;
	padding: 2px 5px 4px;
}
#tabContainer div a{
	text-decoration:none;
	display: block;
	height: 15px;
}
#tabContainer div .content {
    display: none;
    position: relative;
    list-style-type:none;
    background-color: #fff;
    border: #666;
     top:0px;
   padding: 0px;
   width: 115px;
   padding: 1px 0 1px 0;
}
#tabContainer div:focus .content {
    display: block;
    font-size:12px;
}


</style>

</head>


<div id="tabContainer">
  <div>
    <a href="#">Tab1</a>
    <div class="content">
    </div>
  </div>
  <div>
    <a href="#">Tab2</a>
    <div class="content">
    </div>
  </div>
  <div>
    <a href="#">Tab3</a>
    <div class="content">
    </div>
  </div>
</div>

